package com.brainhealth.customer.mapper;

import java.util.List;
import com.brainhealth.customer.domain.ScoreMallGoodsCategory;

/**
 * 积分商城商品分类Mapper接口
 * 
 * @author wolong
 * @date 2023-11-01
 */
public interface ScoreMallGoodsCategoryMapper 
{
    /**
     * 查询积分商城商品分类
     * 
     * @param id 积分商城商品分类主键
     * @return 积分商城商品分类
     */
    public ScoreMallGoodsCategory selectScoreMallGoodsCategoryById(Long id);

    /**
     * 获取积分商城商品分类的总数量
     * @return
     */
    public Long selectScoreMallGoodsCategoryCount();

    /**
     * 查询积分商城商品分类列表
     * 
     * @param scoreMallGoodsCategory 积分商城商品分类
     * @return 积分商城商品分类集合
     */
    public List<ScoreMallGoodsCategory> selectScoreMallGoodsCategoryList(ScoreMallGoodsCategory scoreMallGoodsCategory);

    /**
     * 新增积分商城商品分类
     * 
     * @param scoreMallGoodsCategory 积分商城商品分类
     * @return 结果
     */
    public int insertScoreMallGoodsCategory(ScoreMallGoodsCategory scoreMallGoodsCategory);

    /**
     * 修改积分商城商品分类
     * 
     * @param scoreMallGoodsCategory 积分商城商品分类
     * @return 结果
     */
    public int updateScoreMallGoodsCategory(ScoreMallGoodsCategory scoreMallGoodsCategory);

    /**
     * 删除积分商城商品分类
     * 
     * @param id 积分商城商品分类主键
     * @return 结果
     */
    public int deleteScoreMallGoodsCategoryById(Long id);

    /**
     * 批量删除积分商城商品分类
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteScoreMallGoodsCategoryByIds(Long[] ids);
}
